import request from '../request/index.ts'
import { IUserResponse } from './githubType.js'
export const getUsers = (keyword:string) => {
    return request.get<any,IUserResponse>('/search/users', {
        params: {
            q: keyword
        }
    })
}